class Person{
	private	int age;
	public void setAge(int age){
		if(age < 0 || age > 200)
			this.age = 0;
		else{
			this.age = age;
		}
	}

	public int getAge(){
		return age;
	}

}

class Student extends Person {
	
}

public class Ext{
	public static void main(String args[]) {
		Student stu1 = new Student();

		stu1.setAge( 10 );
		System.out.println(stu1.getAge());		
	}	
}














